This was the list Donald Telian gave us for the macro model library building blocks. Added comments to indicate what is currently implemented in the library. Arpad ============================================================ Parameter passing AM: This can be done with all building blocks. Equation-based sources (voltage, current, numeric) AM: This cannot be done due to language limitations. Even though string parameters do exist, they cannot be interpreted as expression (i.e. converted to "code"). However, it would be easy to write equation based source statements in the templates directly assuming some familiarity with the language. This could prevent or make the substitution of native SPICE elements impossible, though. B element with c_comp on/off and table scaling (static/dynamic) - Hspice can’t do c_comp or dynamic AM: Both of these features can be added easily to the existing *-AMS IBIS buffer implementations. Dynamic scaling would require addition control ports, as discussed with the controlled R, L, and C building blocks. We need to decide how many and what type of control ports we want to add. Expressions in parameters AM: Same answer as 2nd entry above. Table-based PWL sources AM: This can be done using the $table_model keyword. The problem is that currently the table or the file name reference to the table is hard coded, which prevents mutiple instances of the same exact module name to be used with different data tables. There is some hope that in the LRM v2.3 this will be fixed. Until then manual cutting and pasting will be required. Time-controlled sources - Hspice can not do AM: These can be implemented in *-AMS easily. We just need to decide on what they should do. If, then, else in equations - Hspice ??? AM: This is easy in *-AMS. Simulation “time” as variable AM: This is easy in *-AMS. Use of previously computed value (prev(x)) in equation - Hspice can not AM: Need to check into this how it can be done in *-AMS. Calculation of 1st derivative of voltage or current - Hspice can not AM: This is easy in *-AMS.